ARM: VGIC: split gic.c to observe hardware/virtual GIC separation
authorAndre Przywara <andre.przywara@linaro.org>
Tue, 6 Feb 2018 17:08:57 +0000 (17:08 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 8 Feb 2018 21:18:09 +0000 (13:18 -0800)
commit1651304100e5d56468a1229a706723ebd394aa0d
treea15c2bdb75c117cb0e1e034307b0215802e2f905
parent7a12257230e8f6979427aa89ba46022b2192ae79
ARM: VGIC: split gic.c to observe hardware/virtual GIC separation

Currently gic.c holds code to handle hardware IRQs as well as code to
bridge VGIC requests to the GIC virtualization hardware.
Despite being named gic.c, this file reaches into the VGIC and uses data
structures describing virtual IRQs.
To improve abstraction, move the VGIC functions into a separate file,
so that gic.c does what it says on the tin.

Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/Makefile
xen/arch/arm/gic-vgic.c [new file with mode: 0644]
xen/arch/arm/gic.c
xen/include/asm-arm/gic.h